<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="jsp_header.jsp"%>
<!DOCTYPE html>
<html>
<head>
<style>
table{
display: table;
border-collapse: collapse;
}

body,tr, td, input, button,textarea {
font-family:cat;
font-size: 20px;
text-decoration: none;
}
@font-face {
	font-family: cat;
	src: url('whitecat.eot'); /* IE9 호환성 보기 */
	src: url('whitecat.eot?iefix') format('eot'), /* IE6-IE8 */ 
		url('whitecat.woff') format('woff'), /* Modern Browsers */ 
		url('/resources/common/whitecat.ttf') format('truetype');
	/* Safari, android, iOS */;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>자게 등록 화면</title>
</head>
<body>
<jsp:include page="main_header.jsp"></jsp:include>
<div id="container">
<form action="QnAInsert" method="post">
		<div align="center" class="body">
			<h2 style="height: 84px; "><br><br>
				<font color="green" size="6">게시글 등록 화면</font>
			</h2>
			<table id="a" >
				<tr height="40px">
					<td>제목</td>
					<td><input type="text" name="board_title" maxlength="20" style="width: 300px; "></td>
					<td></td>
				</tr>
				<tr height="40px">
					<td>글쓴이</td>
					<td><input type="hidden" name="user_seq" maxLength="20" value="${sessionScope.loginUser.no }"/>
					<input type="text" name="board_writer" value="${sessionScope.loginUser.user_id}"maxlength="6" style="width: 300px; "></td>
					<td></td>
				</tr>
				<tr height="40px">
					<td>내용</td>
					<td><textarea name="board_content" cols="100" rows="25" style="height: 400px; "></textarea></td>
					<td></td>
				</tr>
			</table>

			<br> <input type="submit" value="등록" style="height: 40px; width: 60px; "> 
			<input type="reset" value="리셋" style="height: 40px; width: 60px; "> <a href="/QnA/QnA_main"><input type="button" value="돌아가기" style="height: 40px; width: 120px; "></a>
		</div>
		<br>
		<br>
	</form>
	</div>
	<div><jsp:include page="main_bottom.jsp"></jsp:include></div>   
</body>
</html>